<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
      <!-- 引入Vue.js库，这里以Vue 2的CDN为例 -->
      <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.min.js"></script>
</head>
<body>
    <div id="app">
        <a v-bind:href="url">链接1</a>
        <a v-bind:href="url">链接2</a>
        <input type="text" v-model="url">
    </div>
    <script> 
    new Vue({
        el: '#app',
        data: {
            url: 'https://www.baidu.com'
            }
            })
</script>

</body>
</html>